import {createRouter, createWebHashHistory} from "vue-router";

const routes = [
    {
        path: '/',
        component: () => import('../views/protal/Protal.vue'),
        children: []
    },
    {
        path: '/test',
        component: () => import('../views/test/index.vue'),
    }
]

const router = createRouter({
    routes,
    history: createWebHashHistory(),
    scrollBehavior: () => ({
        top: 0
    })
})

export default router;